#include<iostream>
#include<string>
using namespace std;
int main()
{
	string s;
	cin >> s;
	size_t pos = s.find_last_of("aeiou");
	
	cout << s[pos];
	return 0;
}
